<html>
<head>
<title>Main.java</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.ln { color: rgb(0,0,0); font-weight: normal; font-style: normal; }
.s0 { color: rgb(0,0,128); font-weight: bold; }
.s1 { }
.s2 { color: rgb(128,128,128); font-style: italic; }
.s3 { color: rgb(0,0,255); }
.s4 { color: rgb(0,128,0); font-weight: bold; }
</style>
</head>
<BODY BGCOLOR="#ffffff">
<TABLE CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#C0C0C0" >
<TR><TD><CENTER>
<FONT FACE="Arial, Helvetica" COLOR="#000000">
Main.java</FONT>
</center></TD></TR></TABLE>
<pre>

<a name="l1"><span class="s0">package </span><span class="s1">figury; 
<a name="l2"> 
<a name="l3"></span><span class="s0">import </span><span class="s1">figury.Kolo; 
<a name="l4"></span><span class="s0">import </span><span class="s1">figury.Kwadrat; 
<a name="l5"></span><span class="s0">import </span><span class="s1">figury.Szescian; 
<a name="l6"> 
<a name="l7"></span><span class="s2">/** 
<a name="l8"> * Author: Daniel Michalski 
<a name="l9"> * Date: 26.02.13 
<a name="l10"> */</span><span class="s1"> 
<a name="l11"> 
<a name="l12"></span><span class="s0">public class </span><span class="s1">Main { 
<a name="l13">    </span><span class="s0">public static void </span><span class="s1">main(String[] args) { 
<a name="l14">        Kwadrat kwadrat = </span><span class="s0">new </span><span class="s1">Kwadrat(</span><span class="s3">5</span><span class="s1">); 
<a name="l15">        kwadrat.wyswietlDlBoku(); 
<a name="l16">        </span><span class="s2">//System.out.println(kwadrat);</span><span class="s1"> 
<a name="l17"> 
<a name="l18">        Szescian szescian = </span><span class="s0">new </span><span class="s1">Szescian(</span><span class="s3">6</span><span class="s1">); 
<a name="l19">        </span><span class="s2">//System.out.println(szescian);</span><span class="s1"> 
<a name="l20"> 
<a name="l21">        Kolo kolo = </span><span class="s0">new </span><span class="s1">Kolo(</span><span class="s3">5.4</span><span class="s1">); 
<a name="l22">        System.out.println(</span><span class="s4">&quot;Pole kola = &quot; </span><span class="s1">+ kolo.obliczPolePow()); 
<a name="l23"> 
<a name="l24">    } 
<a name="l25">} 
<a name="l26"></span></pre>
</body>
</html>